@extends('base')
@section("content")
    <div class="fix_header"></div>
    <div class="banner_1 mt80">
        <img src="img/ny_banner2.jpg">
    </div>
    <div class="container">
        <section class="page">
            <div class="pagecont">
                <div class="title" style="padding: 0px 30px!important;">
                    <h1 class="cattitle">装修</h1>
                    <span style="line-height: 50px!important;">当前位置：首页>装修</span>
                    <div class="clear"></div>
                </div>
                <div class="case_list">
                    <div class="filter">
                        @foreach($subkind as $key=>$item)
                            <button onclick="window.location.href='{{url($item['kindstr'] . '?cate=' . $item['categoryid'])}}'" class="action filter__item {{$item['categoryid'] == $params['cate'] ? "on" : "" }} ">{{$item['name']}}</button>
                        @endforeach
                    </div>
                    <div class="industry-one" style="overflow:hidden;">
                        @foreach($decorate as $key=>$item)
                            <div class="onebox" classid="9">
                                <a href="{{url('decoratedetail/?jobid='.$item['jobid'])}}"><img src="{{asset('img/product1.jpg')}}" /></a>
                                <p class="onebox-title onebox-position"> <a href="{{url('decoratedetail/?jobid='.$item['jobid'])}}">{{$item['name']}}</a></p>
                            </div>
                        @endforeach
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="pagelist">{{ $decorate->appends($params)->render() }}</div>
            </div>
            <div class="clear"></div>
        </section>
    </div>
@endsection